<template>
  <el-tabs v-model="activeName">
    <el-tab-pane label="搜索表格" name="1"></el-tab-pane>
    <el-tab-pane label="编辑表格" name="2"></el-tab-pane>
  </el-tabs>
  <SearchTableDemo v-if="activeName === '1'" style="height: calc(100% - 54px)" />
  <EditTableDemo v-if="activeName === '2'" />
</template>

<script setup lang="ts">
import SearchTableDemo from "./components/SearchTableDemo.vue";
import EditTableDemo from "./components/EditTableDemo.vue";

const activeName = ref("1");
</script>

<style></style>
